Switching regulator input current sensing circuit, system, and method

ABSTRACT

A Buck switching regulator includes first Buck switching regulator circuitry is operable to generate a first output voltage from an input voltage and operable to generate a first sensed voltage having a value that is proportional to an output current being provided by the first Buck switching regulator circuitry. The first Buck switching regulator circuitry receives an input current and operates at a first duty cycle determined by a duty cycle signal. Input current sensing circuitry includes second Buck switching regulator circuitry coupled to the first Buck regulator switching circuitry to receive the duty cycle signal and to receive the first sensed voltage as an input voltage to the second Buck switching regulator circuitry. The second Buck switching regulator circuitry is operable responsive to the duty cycle signal to generate a second output voltage from the first sensed voltage. The second output voltage has a value that is proportional to the input current being supplied to the first Buck switching regulator circuitry. Such a Buck switching regulator can be utilized in a variety of different types of electronic systems, such as laptop computer systems, and can also be used in charging systems in laptop computer and other types of electronic systems.

PRIORITY CLAIM

The present application claims the benefit of copending U.S. Provisional Patent Application No. 61/092,650, filed Aug. 28, 2008, which application is incorporated herein by reference in its entirety.

TECHNICAL FIELD

Embodiments of the present invention are directed generally to switching regulators and more specifically to circuits and methods for determining the efficiency of such switching regulators so that this efficiency may then be used in controlling the operation of the switching regulator.

BACKGROUND OF THE INVENTION

A typical switching regulator converts a voltage from one level to another by controlling a switching element or elements to alternately store and release energy in an energy storage element, such as an inductive element. In operation, energy from an input power source is alternately stored in the inductive element and then released from the inductive element to thereby supply power to a load being driven. Many different topologies exist for switching regulators and may be generally classified as either step-up converters or step-down converters. Examples of step-up converters providing an output voltage Vout that is greater than a supplied input voltage Vin include Buck-boost and single ended primary inductor converters (SEPICs). Conversely, a Buck converter is an example of a step-down converter that provides an output voltage Vout that is less than the input voltage Vin.

In switching regulators, it is often desirable to measure an input current lin coming into or being supplied from an input power source to the regulator during operation. This is particularly true when batteries are being used as the input power source and the amount of discharge current out of the batteries needs to be monitored and/or limited to, for example, extend the life of the batteries. Moreover, customers often have the need or desire to determine the power efficiency of their switching regulators, and to do so requires the ability to monitor the input voltage Vin and input current lin supplied to the switching regulator along with the output voltage Vout and output current lout provided by the regulator.

The power efficiency of a switching regulator is given by the output power Pout provided by the regulator divided by the input power Pin supplied to the regulator (Pout/Pin), where Pout=lout×Vout and Pin=lin×Vin. While customers would like to be able to determine power efficiency, they do not want to significantly increase the cost or complexity of their regulators to do so. Input voltage Vin, output voltage Vout and output current lout are all presently monitored in most switching regulators, primarily because these parameters are easily measured and useful or required for controlling operation of the regulator. Input current lin, however, is not typically monitored and needs to be in order to enable the power efficiency to be determined. The input current lin to a switching regulator is a pulsed current not a direct current (DC) signal and accordingly is not easily measured, as will be appreciated by those skilled in the art. For the input current lin an average value must be determined for use in calculating power efficiency with this average value being based upon the magnitude and duty cycle of the input current. This additional circuitry increases the complexity of circuitry forming the switching regulator, occupies valuable space in an integrated circuit in which the switching regulator or portions thereof are typically formed, and increases the cost of the regulator.

Alternative circuits and methods are needed for the input and output current and voltage measurements such that overall efficiency of a switching regulator can be determined.

SUMMARY

According to one embodiment of the present invention, a Buck switching regulator includes first Buck switching regulator circuitry is operable to generate a first output voltage from an input voltage and operable to generate a first sensed voltage having a value that is proportional to an output current being provided by the first Buck switching regulator circuitry. The first Buck switching regulator circuitry receives an input current and operates at a first duty cycle determined by a duty cycle signal. Input current sensing circuitry includes second Buck switching regulator circuitry coupled to the first Buck regulator switching circuitry to receive the duty cycle signal and to receive the first sensed voltage as an input voltage to the second Buck switching regulator circuitry. The second Buck switching regulator circuitry is operable responsive to the duty cycle signal to generate a second output voltage from the first sensed voltage. The second output voltage has a value that is proportional to the input current being supplied to the first Buck switching regulator circuitry. Such a Buck switching regulator can be utilized in a variety of different types of electronic systems, such as laptop computer systems, and can also be used in charging systems in laptop computer and other types of electronic systems.

According to another embodiment of the present invention, a method of sensing the input current being supplied to a first Buck switching regulator includes controlling the first Buck switching regulator at a first duty cycle to generate a first voltage having a value indicating the value of an output current being provided by the first Buck switching regulator, providing the first voltage as an input voltage to a second Buck switching regulator, and controlling the second Buck switching regulator at the first duty cycle to generate a second output voltage, the second output voltage having a value that is proportional to the value of the input current being supplied to the first Buck switching regulator.

BRIEF DESCRIPTION OF THE FIGURES

FIG. 1 is a functional block diagram of a Buck switching regulator including an input current sensing circuit according to an embodiment of the present invention.

FIG. 2 is a more detailed functional block diagram and schematic of the Buck switching regulator of FIG. 1 according to one embodiment of the present invention.

FIG. 3 is functional block diagram and schematic of another embodiment of the Buck switching regulator including components for implementing the regulator circuitry in an integrated circuit.

FIG. 4 is a more detailed functional block diagram and schematic of the Buck switching regulator of FIG. 1 according to another embodiment of the present invention.

FIG. 5 is functional block diagram and schematic of a charging control system including the Buck switching regulator and input current sensing circuit of FIGS. 1-3 according to another embodiment of the present invention.

FIG. 6 is a functional block diagram of an electronic system including the Buck switching regulator of FIGS. 1-4 and/or battery charging control system of FIG. 5 according to another embodiment of the present invention.

DETAILED DESCRIPTION

FIG. 1 is a functional block diagram of a Buck switching regulator 100 including an input current sensing circuit 102 for calculating an input current lin being supplied to a primary or first Buck switching regulator circuit 104 according to an embodiment of the present invention. The first Buck switching regulator circuit 104 generates a first output voltage Vout and an output current lout from an input voltage Vin and input current lin, with the output voltage and current being supplied to drive a load L. In operation, the first Buck switching regulator circuit 104 operates at a duty cycle to generate the desired first output voltage Vout, and generates duty cycle signals DCYC having ON/OFF times indicating the duty cycle at which the Buck switching regulator circuit 104 is operating. In addition, the first Buck switching regulator circuit 104 generates a first sensed voltage V_(IOUT) having a value that indicates the value of the output current lout the first Buck switching regulator circuit is supplying to the load L. In response to the duty cycle signals DCYC and first sensed output voltage V_(IOUT), the input current sensing circuit 102 generates a second output voltage V_(IIN) having a value that indicates the value of the input current lin being supplied to the Buck switching regulator circuit 104.

The input current sensing circuit 102 utilizes only the duty cycle signal DCYC and first sensed output voltage V_(IOUT) of the first Buck switching regulator circuit 104 to generate the second output voltage V_(IIN) that is proportional to the input current lin being supplied to the first Buck switching regulator. With the input current sensing circuit 102 there are no separate components required for directly sensing the input current lin. While the separate input current sensing circuit 102 is required to sense the input current lin, relatively simple circuitry forms the input current sensing circuit according to embodiments of the present invention. This reduces the size, complexity and thus overall cost of the Buck switching regulator 100.

Even though various embodiments and advantages of the present invention are set forth in the following description, the present disclosure is illustrative only, and changes may be made in detail and yet remain within the broad principles of the present invention. Therefore, the present invention is to be limited only by the appended claims. Furthermore, in the present description certain details have been set forth in conjunction with the described embodiments of the present invention to provide a sufficient understanding of the invention. One skilled in the art will appreciate, however, that the invention itself and various aspects thereof may be practiced without these particular details. Furthermore, one skilled in the art will appreciate that the sample embodiments described do not limit the scope of the present invention, and will also understand that various modifications, equivalents, and combinations of the disclosed embodiments and components of such embodiments are within the scope of the present invention. Embodiments including fewer than all the components of any of the respective described embodiments may also be within the scope of the present invention although not expressly described in detail herein. Finally, the operation or structure of well known components and/or processes has not been shown or described in detail herein to avoid unnecessarily obscuring the present invention.

FIG. 2 is a more detailed functional block diagram and schematic of the Buck switching regulator 100 of FIG. 1 according to one embodiment of the present invention. In this embodiment, the first Buck switching regulator circuit 104 includes a first power switch PS1 and a diode D connected in series between the input power source (not shown) supplying the input voltage Vin and input current lin and a ground reference plane. The power switch PS1 is a power MOSFET in the example of FIG. 2, although different types of transistors and switching circuits may be utilized in other embodiments. A control circuit 200 applies a gating signal G to control the turning ON/OFF of the power switch PS1. The duty cycle D of the gating signal G defines the duty cycle at which the first Buck switching regulator circuit 104 operates. A first phase node PH1 is defined at the interconnection of the power switch PS1 and the diode D, with the voltage on this node varying as the power switch PS1 is alternately turned ON and OFF responsive to the gating signal G.

When the control circuit 200 activates the G to turn ON the power switch PS1, magnetic energy is stored in a first conductor L1 connected in series with a sense resistor RS between the first phase node PH1 and a first output node OUT1 on which the output voltage Vout is generated. Conversely, when the control circuit 200 deactivates the gating signal G to turn OFF the power switch PS1, magnetic energy is released from the first conductor L1 via a current flowing through the diode D. A sense voltage Vs develops across the sense resistor RS in response to the output current lout flowing through the sense resistor and into a load (not shown in FIG. 2) connected to the output node OUT1 of the first Buck switching regulator circuit 104. The sense voltage Vs is applied through a filter network formed by resistors R1, R2 and a capacitor C1 to an amplifier 202 having a gain A. The amplifier 202 generates a first sensed voltage V_(IOUT) having a value that is proportional to the value of the output current lout flowing through the sense resistor Rs. A capacitor C2 is connected between the output node OUT1 and ground reference plane and functions to filter the output voltage Vout generated on the output node.

As seen in FIG. 2 a phase signal PHS on the phase node PH1 and output voltage Vout on the output node OUT1 collectively form the duty cycle signal DCYC (see FIG. 1) that is applied to the input current sensing circuit 102. More specifically, the phase signal PHS is applied to a first input of a first comparator 204 while the output voltage Vout on the node OUT1 is coupled through a first voltage divider formed by resistors R3 and R4 to provide a first reference voltage on a second input of the comparator. Similarly, the output voltage Vout on the node OUT1 is coupled through a second voltage divider formed by resistors R5 and R6 to provide a second reference voltage on a first input of a second comparator 206 and the phase signal PHS is applied to a second input of the second comparator 204.

In response to the PHS signal and output voltage Vout, the first and second comparators 204 and 206 generate a phase-high signal PH-HI and phase-low signal PH-LO, respectively. Note that the duty cycle D of the gating signal G defines the duty cycle of the first Buck switching regulator circuit 104 and that the duty cycle signal DCYC formed by the PHS signal and the output voltage Vout also indicate the duty cycle D of the first Buck switching regulator circuit 104. Two power switches PS2 and PS3 in the input current sensing circuit 102 are connected in series between the output of the amplifier 202 and a ground reference plane and are alternately activated and deactivated responsive to the PH-HI and PH-LO signals. The PH-HI and PH-LO signals are complementary signals and thus when the PH-HI signal is activated, turning ON the power switch PS2, the PH-LO signal is deactivated, turning OFF the power switch PS3. Conversely, when the PH-HI signal is deactivated, turning OFF the power switch PS2, the PH-LO signal is activated, turning ON the power switch PS3.

A second phase node PH2 is formed at the interconnection of the power switches PS2 and PS3 and a second conductor L2 and resistor R7 are connected in series between the second phase node and a second output node OUT2 of the input current sensing circuit 102. A capacitor C3 and the resistor R7 form a low pass filter that filters the signal from the inductor L2 to generate a second output voltage V_(IIN) on the second output node OUT2, with the second output voltage having a value that is proportional to the input current lin being supplied to the first Buck switching regulator circuit 104, as previously mentioned above and as will be described in more detail below. The second output voltage V_(IIN) is applied to the control circuit 200 in the first Buck switching regulator circuit 104, and the control circuit utilizes the second output voltage along with the first sensed voltage V_(IOUT) from the amplifier 202 and the output voltage Vout on the output node OUT1 in controlling the overall operation of the Buck switching regulator circuit, as will now be explained in more detail.

In operation of the Buck switching regulator 100, the control circuit 200 in the first Buck switching regulator circuit 104 controls the operation of the Buck switching regulator circuit responsive to the input voltage Vin, output voltage Vout, and the voltages V_(IIN) and V_(IOUT) to generate the desired values for the output voltage Vout and output current lout. Note that the first sensed voltage V_(IOUT) has a value that is proportional to the value of the output current lout while the second output voltage V_(IIN) has a value proportional to the input current lin. As a result, the control circuit 200 of the first Buck switching regulator circuit 104 receives information about the input current lin, input voltage Vin, output current lout, and output voltage Vout of the Buck switching regulator circuit and can thus utilize this information in determining the efficiency of the Buck switching regulator circuit.

The control circuit 200 can utilize the information about the input current lin from the second output voltage V_(IIN) to limit the value of the input current being supplied to the first Buck switching regulator circuit 104. In addition, the control circuit 200 can utilize the determined efficiency to control the overall operation of the first Buck switching regulator circuit 104 to improve the efficiency of the Buck switching regulator circuit and thereby reduce the power consumption of the overall Buck switching regulator 100. The control circuit 200 can also provide efficiency information to external circuitry (not shown) containing or coupled to the Buck switching regulator 100 and such external circuitry could, for example, utilize this efficiency information in controlling the overall operation of a system of which the external circuitry and a switching regulator are a part.

Note that one skilled in the art will understand the theory and operation of the first Buck switching regulator circuit 1014 and thus, for the sake of brevity, its detailed operation will not be described in more detail herein. The general theory and operation of Buck switching regulator circuits will, however, be described below in detail with regarding to discussing the operation of the input current sensing circuit 102, which from examination of FIG. 2 is seen to include circuitry corresponding to the circuitry of a synchronous Buck switching regulator circuit, as will be appreciated by those skilled in the art. In a synchronous Buck switching regulator circuit, the diode D shown in the circuit 104 is replaced with a power switch PS, as is seen to be the case for input current sensing circuit 102 in which the power switch PS3 is contained in place of a diode.

In the embodiment of FIG. 2 the circuitry of the input current sensing circuit 102 corresponds to the circuitry of a synchronous Buck switching regulator circuit receiving the duty cycle signal DCYC and the first sensed voltage V_(IOUT). Note that the first sensed voltage V_(IOUT) provided by the first Buck switching regulator circuit 104 is supplied to the input current sensing circuit 102 as the input voltage of the second Buck switching regulator circuit forming the input current sensing circuit. By providing the first sensed voltage V_(IOUT) from the first Buck switching regulator circuit 104 as the input voltage Vin to the second Buck switching regulator circuit forming the input current sensing circuit 102, and by operating the second Buck switching regulator circuit at the same duty cycle D as the first Buck switching regulator circuit 104 through the duty cycle signal DCYC, the second Buck switching regulator circuit generates the second output voltage V_(IIN) having a value proportional to the input current lin of the first Buck switching regulator circuit 104, as will now be explained in more detail below.

The second Buck switching regulator circuit forming the input current sensing circuit 102 in essence functions as multiplier to generate the second output voltage V_(IIN) having a value proportional to the input current lin of the first switching Buck regulator circuit 104. For a conventional Buck switching regulator circuit, the following equations characterize the circuit:

Vout=D×Vin  (1)

D=T _(ON)/(T _(ON) +T _(OFF))=T _(PH-HI)/(T _(PH-HI) +T _(PH-LO))  (2)

PIN=Vin×lin  (2)

POUT=Vout×lout  (3)

POUT/PIN=EFF  (4)

lin=lout×(Vout/Vin)×(1/EFF)  (5)

Equation 1 defines the general relationship between the input voltage Vin and output voltage Vout of a Buck switching regulator circuit, namely that the output voltage Vout equals the input voltage Vin times the duty cycle D at which the switching regulator circuit is operating. As the equation 2 illustrates, the duty cycle D is defined for the second synchronous switching Buck regulator circuit as the time T_(PH-HI) the phase-high signal PH-HI is active divided by a total cycle time given by the time T_(PH-HI) plus the time T_(PH-LO) the phase-low signal PH-LO is active. The efficiency EFF of a Buck switching regulator circuit is given by equation 4 and is defined as the output power POUT divided by the input power PIN. Utilizing equations 2-4 the input current lin as a function of output current lout, output voltage Vout, input voltage Vin and efficiency EFF is given in equation 5. While equation 5 does indeed characterize the input current lin in terms of these other measured parameters, the computations required to determine the value of the input current lin are relatively complex components such as analog multipliers and dividers, which are also prone to introducing error into the computation due to component and temperature variations, for example.

By utilizing the second Buck switching regulator circuit to form the input current sensing circuit 102, the computations and circuitry required to determine the value of the input current lin are greatly simplified. From the above description and equations for conventional Buck switching regulator circuits, is seen that the second Buck switching regulator circuit forming the input current sensing circuit 102 receives the first sensed voltage V_(IOUT) as the input voltage of the regulator circuit. Moreover, referring to the circuitry in regulator circuit 204 of FIG. 2 the value of the first sensed voltage V_(IOUT) is given by the following equation:

V _(IOUT)=(lout×RS×A)  (6)

where A is the gain of the amplifier 202.

Now for the second Buck switching regulator circuit forming the input current sensing circuit 102, from equations 1 and 6 the following equation for the second output voltage VIIN is found:

VIIN=VIOUT×D=(lout×RS×A)×(Vout/Vin)  (7)

where the duty cycle D of the second Buck switching regulator circuit forming the input current sensing circuit 102 is the same as the duty cycle of the first Buck switching regulator circuit 104 and is thus given by Vout/Vin for the first Buck switching regulator circuit.

Now from equation 5 is seen that lin=lout×(Vout/Vin)×(1/EFF) or (Vout/Vin)=(lin×EFF)/lout, so replacing (Vout/Vin) in equation 7 yields:

V _(IIN)=(lout×RS×A)×((lin×EFF)/lout)=lin×RS×A×EFF  (8)

which shows that the second output voltage V_(IIN) has a value that is proportional to the input current lin of the first Buck switching regulator circuit 104.

From equation 8 it is seen that the second Buck switching regulator circuit forming the input current sensing circuit 102, when operating at the same duty cycle D as the first Buck switching regulator circuit 104 and when receiving the first sensed voltage V_(IOUT) as an input voltage, generates the second output voltage V_(IIN)=lin×RS×A×EFF. In this way, the relatively simple circuitry forming the second Buck switching regulator circuit of the input current sensing circuit 102 generates the second output voltage V_(IIN) having a value that is proportional to the input current lin of the first Buck switching regulator circuit 104. As will be appreciated by those skilled in the art, the efficiency EFF term in equation 8 creates an error that can be compensated for in a variety of different ways, such as characterizing the efficiency of the first Buck switching regulator circuit 104 as a function of output current lout and storing this information in the control circuit 200. As previously mentioned, the second output voltage V_(IIN) can be utilized by other circuitry (not shown) to calculate the overall efficiency EFF of the first Buck switching regulator circuit 104 as is desirable in many applications. For example, in battery-powered applications external circuitry may monitor the efficiency EFF at which the first Buck switching regulator circuit 104 is operating and then control the switching regulator circuit accordingly to conserve battery power.

Note that although the second Buck switching regulator circuit forming the input current sensing circuit 102 is shown as including the second conductor L2, in another embodiment this inductor is omitted and the resistor R7 connected directly to the second phase node PH2.

FIG. 3 is functional block diagram and schematic of a Buck switching regulator 100 a including components for implementing the regulator circuitry in an integrated circuit according to another embodiment of the present invention. The Buck switching regulator 100 a includes an input current sensing circuit 102 a and first Buck switching regulator circuit 104 a that are very similar to the input current sensing circuit 102 and first Buck switching regulator circuit 104 in the embodiment of FIG. 2. Accordingly, like components in the circuits 102 a and 104 a have been given the same designations as the corresponding components in the circuits 102 and 104. In the circuit 104 a the filter components R1, R2 and C1 are omitted and amplifier 202 is replaced with a transconductance amplifier 202 a having a capacitor C1 connected across its output. Similarly, the only difference between the input current sensing circuits 102 and 102 a is that in the latter the inductor L2 and resistor R7 are omitted and a transconductance amplifier 208 a is coupled to drive the output node OUT2 as shown. In this way, resistive, capacitive, and inductive components are eliminated from the first Buck switching regulator circuit 104 a and the input current sensing circuit 102 a to facilitate formation of these circuits in an integrated circuit. While the operation of components within the circuits 102 a and 104 a may vary slightly, such as for the control circuit 200 a, the operation is substantially the same as previously described with reference to FIG. 2 and thus, for the sake of brevity, will not again be described in detail.

FIG. 4 is a more detailed functional block diagram and schematic of a Buck switching regulator 100 b according to another embodiment of the present invention. In the Buck switching regulator 100 b, the input current sensing circuit 102 b is the same as the circuit 102 of FIG. 2 while the first Buck switching regulator circuit 104 b is a synchronous Buck switching regulator circuit including a power switch PS4 in place of the diode D in the circuit 104 of FIG. 2. Like components in the circuits 102 b and 104 b have been given the same designations as the corresponding components in the circuits 102 and 104. In the synchronous Buck switching regulator circuit 104 b, the control circuit 200 b generates an upper gate control signal UG to drive the power switch PS1 and a lower gate signal to drive the power switch PS4. The UG and LG signals determine the duty cycle of operation of the circuit 104 b, and are applied are applied to the comparators 204 b and 206 b, respectively, to operate the second Buck switching regulator circuit forming the input current sensing circuit 102 b at the same duty cycle. While the operation of components within the circuits 102 a and 104 c may vary slightly, such as for the control circuit 200 c, the operation is substantially the same as previously described with reference to FIG. 2 and any such slight variations will be appreciated by those skilled in the art. Thus, for the sake of brevity, the operation of the regulator 100 b and components thereof will not be described in more detail herein.

FIG. 5 is functional block diagram and schematic of a charging control system 500 including the Buck switching regulator circuit 104/104 a/104 b and input current sensing circuit 102/102 a/102 b of FIGS. 1-4 according to another embodiment of the present invention. Only the circuits 102 and 104 are designated in FIG. 5 and the following discussion will only refer to these particular embodiments although any embodiments of these circuits may be utilized in the charging system control system 500.

In the charging control system 500, an adapter power source (not shown) supplies an adapter input voltage V_(AIN) and an adapter input current I_(AIN) to an adapter input node AIN. This adapter input voltage V_(AIN) and a first portion of the adapter input current I_(AIN) are supplied to electronic circuitry 502 that is coupled to the adapter input node AIN through a first sense resistor RS1. The first portion of the adapter input current I_(AIN) supplied to the electronic circuitry 502 is designated a drive input current I_(IN-DR) and in response to this current flowing through the first sense resistor RS1 an amplifier 504 generates a first sensed voltage V_(IN-DR) having a value that is proportional to the value of the drive input current I_(IN-DR) As will be appreciated by those skilled in the art, the first sense resistor RS1 has a suitably small value such that approximately the full value of the adapter input voltage AIN is applied to the electronic circuitry 502, as indicated in FIG. 5. A first capacitor C1 is connected across the input to the electronic circuitry 502 and functions as a filter of the adapter input voltage V_(AIN) and current I_(IN-DR).

The Buck switching regulator circuit 104 receives the adapter input voltage V_(AIN) and a second portion of the adapter input current I_(AIN) that is designated a charging input current I_(IN-CH) in FIG. 5. From the adapter input voltage V_(AIN) and charging input current I_(IN-CH) the Buck switching regulator circuit 104 functions to provide a charging output voltage V_(OUT-CH) and charging output current I_(OUT-CH) on a charging node CH. An energy storage element such as a battery B is coupled to the charging node CH and is recharged through the charging output voltage V_(OUT-CH) and charging output current I_(OUT-CH).

The input current sensing circuit 102 receives the phase signal PHS and charging output voltage V_(OUT-CH) from the first Buck switching regulator circuit 104 along with a second sensed voltage V_(IOUT-CH) having a value that is proportional to the charging output current I_(OUT-CH). Utilizing these signals from the first Buck switching regulator circuit 104, the input current sensing circuit 102 operates as previously described to generate a second output voltage V_(IIN)-CH having a value that is proportional to the charging input current I_(IN-CH) being supplied to the first Buck switching regulator circuit 104.

A summation circuit 506 receives the first sensed voltage V_(IN-DR) and second output voltage V_(IN-CH) and adds these two voltages to generate a summed voltage signal V_(IAIN) having a value that is proportional to the adapter input current I_(AIN) being supplied to the charging control system 500 from the adapter power source. The summed voltage signal V_(IAIN) has a value proportional to the adapter input current I_(AIN) because the first sensed voltage V_(IN-DR) indicates the value of the drive input current I_(IN-DR) and the second output voltage V_(IN-CH) indicates the value of the charging input current I_(IN-CH). The adapter input current I_(AIN)=I_(IN-CH)+I_(IN-DR) and so the summation of the voltages V_(IN-CH) and V_(IIN-DR) is the voltage V_(IAIN) having a value proportional to the adapter input current I_(AIN).

A comparator 508 compares the value of the summed voltage signal V_(IAIN) to a total adapter current threshold V_(IAIN-MAX) and generates a current limit signal CL in response to the comparison. When the summed voltage signal V_(IAIN) is less than the threshold V_(IAIN-MAX), the comparator 508 deactivates the current limit signal CL. In this situation the sum of the drive input current I_(IN-DR) and charging input current I_(IN-CH), which equals the adapter input current I_(AIN), is less than some desired maximum value corresponding to the threshold V_(IAIN-MAX) and thus the charging control system 500 continues operating to provide the required power to the electronic circuitry 502 and battery B. In contrast, when the summed voltage signal V_(IAIN) is greater than the threshold V_(IAIN-MAX), the comparator 508 activates the current limit signal CL. In this situation the sum of the drive input current I_(IN-DR) and charging input current I_(IN-CH) is greater than the desired maximum value and the operation of the first Buck switching regulator circuit 104 is adjusted accordingly. More specifically, the duty cycle D of the first Buck switching regulator circuit 104 is reduced to thereby lower the charging output current I_(OUT-CH) being supplied to the battery B and the charging input current I_(IN-CH) being supplied to the first Buck switching regulator circuit. More specifically, in response to the current limit signal CL a control circuit 200′ in the first Buck switching regulator circuit 104 just the duty cycle D of the gating signal G applied to the power switch PS1. The control circuit 200′ is substantially similar to the control circuit 200 previously described with reference to FIG. 2 except that the control circuit 200′ also operates as just described to control the first Buck switching regulator circuit 104 to limit the charging input current I_(IN-CH) and thereby keep the overall adapter input current I_(AIN) less than a desired maximum value corresponding to the total adapter current threshold V_(IAIN-MAX).

The charging control system 500 operates to ensure that the required drive input current I_(IN-DR) is supplied to the electronic circuitry 502 while also ensuring that the adapter input current I_(AIN) being provided by the adapter power source (not shown) does not exceed a maximum value. In this way, as the drive input current I_(IN-DR) required by the electronic circuitry 502 varies, the control system 500 adjust the charging output current I_(OUT-CH) supplied to the battery B to charge the battery as quickly as possible. For example, when the electronic circuitry 502 corresponds to computer circuitry in a laptop computer, the drive input current I_(IN-DR) will vary depending upon the processing requirements of the electronic circuitry. During periods of low I_(IN-DR) requirements, the control system 500 enables the first Buck switching regulator circuit 104 to provide a higher charging output current I_(OUT-CH) to thereby charge the battery B more quickly. Conversely, during periods of high I_(IN-DR) requirements, such as when the computer circuitry is operating a processor intensive application like voice recognition software, the control system 500 reduces the charging input current I_(IN-CH) to maintain the adapter input current I_(AIN) less than the threshold or maximum value.

FIG. 6 is a functional block diagram of an electronic system 600 including the switching regulator 100/100 a/100 b of FIGS. 1-4 and/or the charging control system 500 of FIG. 5 according to another embodiment of the present invention. The electronic system 600 includes electronic circuitry 602 including the switching regulator 100/100 a/100 b and/or the charging control system 500. The electronic circuitry 602 may be a variety of different types of circuitry depending upon the particular application for which the 100/100 a/100 b and/or the charging control system 500 is being utilized. For example, in one embodiment the electronic circuitry 602 corresponds to computer circuitry in a laptop computer or other type of portable electronic device. In such systems, an energy storage element 604, such as a rechargeable battery, may be coupled to the electronic circuitry 602 and switching regulator 100/100 a/100 b and/or charging control system 500 to thereby charge the energy storage element. The system 600 may further include interface devices 606 that may take a variety of different forms, such as an LCD screen and an alphanumeric keypad, which function to allow a user to interface with the system.

Even though various embodiments and advantages of the present invention have been set forth in the foregoing description, the above disclosure is illustrative only, and changes may be made in detail and yet remain within the broad principles of the present invention. Moreover, the functions performed by the elements illustrated and described with reference to FIGS. 1-5 may in some instances be combined and performed by fewer elements, separated and performed by more elements, or combined into different functional blocks depending upon the actual components used and system being designed, as will be appreciated by those skilled in the art. Therefore, the present invention is to be limited only by the appended claims. 

1. A Buck switching regulator, comprising: first Buck switching regulator circuitry operable to generate a first output voltage from an input voltage and operable to generate a first sensed voltage having a value that is proportional to an output current being provided by the first Buck switching regulator circuitry, and the first Buck switching regulator circuitry receiving an input current and operating at a first duty cycle determined by a duty cycle signal; and input current sensing circuitry including second Buck switching regulator circuitry coupled to the first Buck regulator switching circuitry to receive the duty cycle signal and to receive the first sensed voltage as an input voltage to the second Buck switching regulator circuitry, the second Buck switching regulator circuitry operable responsive to the duty cycle signal to generate a second output voltage from the first sensed voltage, the second output voltage having a value that is proportional to the input current being supplied to the first Buck switching regulator circuitry.
 2. The Buck switching regulator of claim 1, wherein the first Buck switching regulator circuitry includes a first power switch and a diode coupled in series between an input source providing the input voltage and a reference voltage source, the anode of the diode being coupled to the reference voltage source and a first phase node being defined at the interconnection of the cathode of the diode and the power switch; and wherein the duty cycle signal includes a phase signal on the first phase node and the first output voltage on a first output node of the first Buck switching regulator circuitry.
 3. The Buck switching regulator of claim 2 wherein the input current sensing circuitry comprises: a first comparator having a first input coupled to the first phase node and a second input coupled to the output node, the first comparator operable to generate a phase-high signal on an output responsive to signals on the phase and output nodes; a second comparator having a first input coupled to the output node and a second input coupled to the first phase node, the second comparator operable to generate a phase-low signal on an output responsive to signals on the first phase and output nodes; a first power switch having a control input coupled to the output of the first comparator to receive the phase-high signal and having a first signal node coupled to receive the first sensed voltage, and having a second signal node; a second power switch having a control input coupled to the output of the second comparator to receive the phase-low signal and a first signal node adapted to receive a reference voltage, and the second power switch having second signal node coupled to the second signal node of the first power switch to define a second phase node; and an output filter coupled to the second phase node and operable to filter a signal on the second phase node to generate the second output voltage.
 4. The Buck switching regulator of claim 3 wherein the output filter comprises a transconductance amplifier.
 5. The Buck switching regulator of claim 3 further comprising a first inductive element coupled between the second phase node and the output filter.
 6. The Buck switching regulator of claim 3 wherein the first Buck switching regulator circuitry further comprises: an inductive element coupled in series with an output sense resistive element between the first phase node and the output node of the first Buck switching regulator circuitry; and a differential amplifier having a first input coupled to the output node and a second input coupled to a node defined by the interconnection of the inductive element and the output sense resistive element, the differential amplifier operable to generate the first sensed voltage responsive a voltage across the output sense resistive element.
 7. The Buck switching regulator of claim 6 wherein the second inductive element comprises a single inductor.
 8. The Buck switching regulator of claim 6 wherein the first Buck switching regulator circuitry further comprises control circuitry operable to control the operation of the first Buck switching regulator circuitry utilizing the first sensed voltage, second output voltage, the input voltage, and the first output voltage.
 9. The Buck switching regulator of claim 1, wherein the first Buck switching regulator circuitry comprises a synchronous Buck regulator circuit including a high-side power switch and low-side power switch couple in series between an input source providing the input voltage and a reference voltage source, the high-side power switch receiving a phase-high signal and the low-side power switch receive a phase-low signal; and wherein the duty cycle signal comprises the phase-high and phase-low signals.
 10. A charging system, comprising: an adapter input node adapted to receive an adapter input voltage and adapter input current and adapted to be coupled to electronic circuitry; a first voltage sensing circuit coupled to the power adapter input node and operable to sense a drive input current being supplied to the electronic circuitry and to generate a first sensed voltage having a value indicating the value of the drive input current; first Buck switching regulator circuitry coupled to the power adapter input node and to a charging node adapted to be coupled to an energy storage element, the first Buck switching regulator circuitry operable to generate a charging output voltage on the charging node and to generate a second sensed voltage having a value that is proportional to a charging output current being provided by the first Buck switching regulator circuitry, and the first Buck switching regulator circuitry receiving a charging input current from the adapter input node and including control circuitry operable to control the first Buck switching regulator circuitry to operate at a first duty cycle and to adjust the duty cycle responsive to a current limit signal; input current sensing circuitry including second Buck switching regulator circuitry coupled to the first Buck regulator switching circuitry to receive the duty cycle signal and to receive the second sensed voltage as an input voltage to the second Buck switching regulator circuitry, the second Buck switching regulator circuitry operable responsive to the duty cycle signal to generate a second output voltage from the second sensed voltage, the second output voltage having a value that is proportional to the charging input current being supplied to the first Buck switching regulator circuitry; a summation circuit coupled to the first voltage sensing circuit to receive the first sensed voltage having a value indicating the value of the drive input current and coupled to the input current sensing circuitry to receive the second output voltage having a value proportional to the charging output current, the summation circuit operable to sum the first sensed voltage and second output voltage to generate a total adapter current signal; and a comparison circuit coupled to the summation circuit and to the control circuitry in the first Buck switching regulator circuitry, the comparison circuit operable to compare the total adapter current signal to a total adapter current threshold and generate the current limit signal responsive to this comparison.
 11. The charging system of claim 10 wherein the comparison circuit activates the current limit signal responsive to the total adapter current signal being equal to or greater than the total adapter current threshold and responsive to the active current limit signal the control circuit in the first Buck switching regulator circuitry adjusts the duty cycle signal to reduce the value of the charging output current.
 12. The charging system of claim 10 wherein a rechargeable battery is coupled to the charging node.
 13. The charging system of claim 10, wherein the first Buck switching regulator circuitry includes a first power switch and a diode coupled in series between the power adapter input node and a reference voltage source, the anode of the diode being coupled to the reference voltage source and a phase node being defined at the interconnection of the cathode of the diode and the power switch; and wherein the duty cycle signal includes a phase signal on the phase node and the charging output voltage on the charging node.
 14. The charging system claim 13 wherein the input current sensing circuitry comprises: a first comparator having a first input coupled to the phase node and a second input coupled to the charging node, the first comparator operable to generate a phase-high signal on an output responsive to signals on the phase and charging nodes; a second comparator having a first input coupled to the charging node and a second input coupled to the phase node, the second comparator operable to generate a phase-low signal on an output responsive to signals on the phase and charging nodes; a first power switch having a control input coupled to the output of the first comparator to receive the phase-high signal and a first signal node coupled to receive the second sensed voltage, and having a second signal node; a second power switch having a control input coupled to the output of the second comparator to receive the phase-low signal and a first signal node adapted to receive a reference voltage, and the second power switch having second signal node coupled to the second signal node of the first power switch to define a second phase node; and an output filter coupled to the second phase node and operable to filter a signal on the second phase node to generate the second output voltage.
 15. An electronic system, comprising: electronic circuitry including a Buck switching regulator, the Buck switching regulator including, first Buck switching regulator circuitry operable to generate a first output voltage from a first input voltage and operable to generate a sensed current output voltage having a value that is proportional to an output current being provided by the first Buck switching regulator circuitry, and the first Buck switching regulator circuitry receiving an input current and operating at a first duty cycle determined by a duty cycle signal; and input current sensing circuitry including second Buck switching regulator circuitry coupled to the first Buck regulator switching circuitry to receive the duty cycle signal and to receive the sensed current output voltage as an input voltage to the second Buck switching regulator circuitry, the second Buck switching regulator circuitry operable responsive to the duty cycle signal to generate a second output voltage from the sensed output voltage, the second output voltage having a value that is proportional to the input current being supplied to the first Buck switching regulator circuitry; and at least one interface device coupled to the electronic circuitry.
 16. The electronic system of claim 15 wherein the electronic circuitry comprises laptop computer circuitry.
 17. The electronic system of claim 15, wherein the system further comprises an energy storage element coupled to the computer circuitry; and wherein the computer circuitry further includes a charging system, the charging system including, a power adapter input node adapted to receive an adapter input voltage and adapter input current from an adapter power source; a first voltage sensing circuit coupled to the power adapter input node and operable to sense a drive input current being supplied to the computer circuitry and to generate a first sensed voltage having a value indicating the value of the drive input current; the first Buck switching regulator circuitry; the input current sensing circuitry; a summation circuit coupled to the first voltage sensing circuit to receive the first sensed voltage and coupled to the input current sensing circuitry to receive a second output voltage having a value proportional to a charging current being supplied to the first Buck switching regulator, the summation circuit operable to sum the first sensed voltage and second output voltage to generate a total adapter current signal; and a comparison circuit coupled to the summation circuit and to control circuitry in the first Buck switching regulator circuitry, the comparison circuit operable to compare the total adapter current signal to a total adapter current threshold and generate a current limit signal responsive to this comparison, the control circuitry in the first Buck switching regulator circuitry operable to operate the first Buck switching regulator circuitry at a first duty cycle and to adjust the duty cycle signal responsive to the current limit signal.
 18. A method of sensing the input current being supplied to a first Buck switching regulator, the method comprising: controlling the first Buck switching regulator at a first duty cycle to generate a first voltage having a value indicating the value of an output current being provided by the first Buck switching regulator; providing the first voltage as an input voltage to a second Buck switching regulator; and controlling the second Buck switching regulator at the first duty cycle to generate a second output voltage, the second output voltage having a value that is proportional to the value of the input current being supplied to the first Buck switching regulator.
 19. The method of claim 18 wherein controlling the second Buck switching regulator at the first duty cycle comprises generating duty cycle signals responsive to a phase voltage on a phase node in the first Buck switching regulator and an output voltage on an output node of the first Buck switching regulator.
 20. The method of claim 18, wherein controlling the first Buck switching regulator at the first duty cycle comprises generating phase-high and phase-low signals; and wherein controlling the second Buck switching regulator at the first duty cycle comprises providing the phase-high and phase-low signals to control operation of the second Buck switching regulator.
 21. The method of claim 18 wherein controlling the first Buck switching regulator at the first duty cycle to generate the first voltage comprises: sensing the output current from the first Buck switching regulator; and generating the first voltage responsive to the sensed output current.
 22. The method of claim 21 wherein sensing the output current from the first Buck switching regulator and generating the first voltage responsive to the sensed output current comprise supplying the output current through a resistive element to thereby sense the output current and generate the first voltage. 